<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>上传练习</title>
</head>
<body>

<form action="Upload.php" method="post" enctype="multipart/form-data">
    添加文件1:
    <input type="file" name="img[]">
    <br>
    添加文件2:
    <input type="file" name="img[]">
    <button type="submit">提交</button>
</form>
<hr>
<form action="Upload2.php" enctype="multipart/form-data" method="post">
    <input type="file" name="image" /> <br>
    <!--<input type="file" name="image[]" /> <br>-->
    <!--<input type="file" name="image[]" /> <br>-->
    <input type="submit" value="上传" />
</form>

</body>
</html>